package com.edais.vo;

import com.edais.domain.gift.GiftPackageGift;

/**
 * GiftPackageGiftOrderVo
 * Created by haoyx on 2016/11/16.
 */
public class GiftPackageGiftVo {

    private Long id;//礼品id
    private Long packageId;//礼包ID
    private String packageName;//礼包名称
    private Long giftId;//礼品ID
    private String giftName;//礼品名称
    private String giftIntro;//礼品介绍
    private String giftUrl;//url
    private String giftImageUrl;//图片URL地址
    private String giftType;//礼品类型 1现金 2加息券 3代金券 4手续费抵用券 5积分
    private String giftTypeName;//礼品类型名称 1现金 2加息券 3代金券 4手续费抵用券 5积分
    private Integer amount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPackageId() {
        return packageId;
    }

    public void setPackageId(Long packageId) {
        this.packageId = packageId;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public Long getGiftId() {
        return giftId;
    }

    public void setGiftId(Long giftId) {
        this.giftId = giftId;
    }

    public String getGiftName() {
        return giftName;
    }

    public void setGiftName(String giftName) {
        this.giftName = giftName;
    }

    public String getGiftIntro() {
        return giftIntro;
    }

    public void setGiftIntro(String giftIntro) {
        this.giftIntro = giftIntro;
    }

    public String getGiftUrl() {
        return giftUrl;
    }

    public void setGiftUrl(String giftUrl) {
        this.giftUrl = giftUrl;
    }

    public String getGiftImageUrl() {
        return giftImageUrl;
    }

    public void setGiftImageUrl(String giftImageUrl) {
        this.giftImageUrl = giftImageUrl;
    }

    public String getGiftType() {
        return giftType;
    }

    public void setGiftType(String giftType) {
        this.giftType = giftType;
    }

    public String getGiftTypeName() {
        return giftTypeName;
    }

    public void setGiftTypeName(String giftTypeName) {
        this.giftTypeName = giftTypeName;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public GiftPackageGiftVo(GiftPackageGift gift) {
        this.id = gift.getId();
        this.packageId = gift.getPackageId();
        this.packageName = gift.getPackageName();
        this.giftId = gift.getGiftId();
        this.giftName = gift.getGiftName();
        this.giftIntro = gift.getGiftIntro();
        this.giftUrl = gift.getGiftUrl();
        this.giftImageUrl = gift.getGiftImageUrl();
        this.giftType = gift.getGiftType();
        this.giftTypeName = gift.getGiftTypeName();
        this.amount = gift.getAmount();
    }
}
